package test1225;

public class Test10 {
    public static void main(String[] args) {
        // 返回数组中偶数
        int[] arr = {4,5,6,7,8,9};
        int[] brr = m10(arr);
        for (int b:brr) {
            System.out.println(b);
        }
    }
    public static int[] m10(int[] arr) {
        int[] res = new int[arr.length];
        for (int i = 0; i < arr.length; i++) {
            res[i] = arr[i];

        }
        return res;
    }
}
